
ClassFactory.defineClass("M3Toolbar_wjj", Toolbar);

// instance properties and methods
M3Toolbar_wjj.addProperties({
	membersMargin :5,
	height:26,
	width:310,
	initWidget : function () {			
		this.Super("initWidget", arguments);
		var newBtn = isc.IButton.create({
			width:70,
			height:26,
			autoDraw:false,
			title:isc.i18nMessages.audit_ButtonNew,
			icon:"layeredAudit/new.png",
			actionType: "button",
			action:this.newAction
		});
		var deleteBtn = isc.IButton.create({
			width:70,
			height:26,
			autoDraw:false,
			title:isc.i18nMessages.audit_ButtonDelete,
			icon:"layeredAudit/delete.png",
			action:this.deleteAction
		});
		var modifyBtn = isc.IButton.create({
			width:70,
			height:26,
			autoDraw:false,
			title:isc.i18nMessages.audit_ButtonModify,
			icon:"layeredAudit/modify.png",
			action:this.modifyAction
		});
		var resetBtn = isc.IButton.create({
			width:70,
			height:26,
			autoDraw:false,
			title:isc.i18nMessages.audit_ButtonReset,
			icon:"layeredAudit/reset.png",
			action:this.resetAction
		});
		this.addButtons([newBtn,deleteBtn,modifyBtn,resetBtn]);	
	}
});

